version 1
16.07.2014
Author: Yrex

- How to use Unreal.tlb interface with Visual Basic?

I assume that you have basic knowledge about VB.

After creating WindowsApplication project, go to project properties (Solution Explorer -> My Project).
Go to References page.
Click "Add".
A new window ("Add reference") will appear. In this window select "Browse" page.
A file explorer should be visible. Search for "UNREAL.TLB" file. This file is often included in Unreal beta versions. Click "OK".
"Unreal Engine" will be added to references list.
Besides, in code completion list "Unreal" namespace will appear.
In this namespace there are four items: IUnrealEdServer, IUnrealServer, UnrealEdServer and UnrealServer. I'm not sure which is appropriate. I used UnrealEdServer in my editor.
Now declare a variable with this datatype:

Public Class Form1
  ...
  Dim Unr As New Unreal.UnrealEdServer

Again, i'm not sure whether this is the correct method. But it works anyway.
If you start now the application, Unreal Log window will appear also. If you close the application, Unreal Log will close too.

- I have 3 Unreal betas, which version will start? How to choose different version?

The currently registered version will start. To register an Unreal version, run it as administrator.

Now you can control this Unreal version with commands:
  Unr.Exec(command)
  x = Unr.GetProp(topic, item)
  Unr.SetProp(topic, item, value)
There are other commands, but I don't use them. Experiment if you want.

Commands for "Exec" can be found here:
http://wiki.beyondunreal.com/Legacy:UnrealEd_2_Console

For GetProp and SetProp - check GetSetProp.txt file.